﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace WR.FM.Model
{
    [Table("FundBasic")]
    public class FundBasic
    {
        public FundBasic()
        {
            CreateDate = DateTime.Now;
            LastUpdateDate = DateTime.Now;
        }

        [Key]
        public long Id { get; set; }

        [StringLength(50)]
        public string FundName { get; set; }

        [StringLength(100)]
        public string Url { get; set; }

        [StringLength(100)]
        public string Regex { get; set; }

        public DateTime CreateDate { get; set; }

        public DateTime LastUpdateDate { get; set; }
    }
}
